package com.linfnn.demo.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linfnn.demo.Mapper.AssessmentMapper;
import com.linfnn.demo.Model.Assessment;
import com.linfnn.demo.Service.AssessmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AssessmentServiceImpl extends ServiceImpl<AssessmentMapper, Assessment> implements AssessmentService {
    // 这里可以实现其他自定义的业务逻辑
    @Autowired
    AssessmentMapper assessmentMapper;

    @Override
    public Assessment getAssessmentByName(String assessmentName) {
        System.out.println("查询");
        return baseMapper.selectAssessmentByName(assessmentName);
    }




}
